#ifndef _UART_H
#define _UART_H

#define GNR_COM 0
#define USB_COM 1

#define COM_TYPE USB_COM
#define MAX_COM_NUM 		3

int set_com_config(int fd,int baud_rate, int data_bits, char parity, int stop_bits);
int open_port(int com_port);


#endif
